﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Crank.Core
{
    public class StandardTransforms : IModelTransformer
    {
        #region IModelTransformer Members

        public void ApplyTransform(DataModel model)
        {
            model.ApplyTransform<TypeAliasTransformer>();
            model.ApplyTransform<AliasTransformer>();
            model.ApplyTransform<InflectingModelTransormer>();
            model.ApplyTransform<LinkTableModelTransformer>();
            model.ApplyTransform<DollarExpadingModelTransformer>();
            model.ApplyTransform<LinkReorientModelTransform>();
            model.ApplyTransform<AutoKeyModelTransformer>();
            model.ApplyTransform<AutonamingModelTransformer>();
            model.ApplyTransform<ForeignKeyModelTransformer>();
        }

        #endregion
    }
}
